package com.demo2.todo.model.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * @author evi
 */
@Setter
@Getter
@Data
public class BaseResponse {
    // getter和setter
    @NotBlank
    private boolean success;

    private String message;

    public BaseResponse(boolean success, String message) {
        this.success = success;
        this.message = message;
    }
}
